Computer and Modernization ›› 2011, Vol. 1 ›› Issue (1): 39-3.doi: 10.3969/j.issn.1006-2475.2011.01.011

• 算法分析与设计 • Previous Articles     Next Articles

A Modified Algorithm for Extracting Isoline Based on Interval Tree

DU Wei1,2, CHEN Xue-gong1   

  1. 1.College of Software, Central South University, Changsha 410075, China;2.Changde Vocational Technical College, Changde 415000, China
  • Received:1900-01-01 Revised:1900-01-01 Online:2011-01-20 Published:2011-01-20

Abstract:

The isoline extracted from DEM is one of the basic functions of computer mapping and geographic information system. This paper proposes an isoline extraction method based on interval tree from DEM. This paper references the algorithm of inserting elements in balance binary sort tree to create interval tree’s nodes; when searching the grids the contour line passed, it just sorts those grids which are belonged to the nodes the search path passed, avoids sort all grids in the interval tree, and reduces the search time. Experimental results show that the algorithm has an advantage in time than the older algorithm.

Key words: isoline, DEM, AVL tree, interval tree